home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / pc / files / t_docs / faq_1292.txt < prev    next >
Text File  |  1996-06-25  |  77KB  |  1,958 lines

  1. NOS FAQ    draft                    15-Dec-92
  2.  
  3. [This is a draft -- forgive ugliness, and help repair it!]
  4.  
  5. This paper discusses the TCP/IP implementation known as NOS,
  6. originated by Phil Karn and developed by many others.  It tries not to
  7. duplicate material that is available elsewhere, but refers instead to
  8. existing documentation.  If you have never seen NOS before, you might
  9. want to scan this document quickly, and then go read the "Introduction
  10. to NOS" file by John Ackermann or the "Beginner's Guide to TCP/IP"
  11. (both described later).
  12.  
  13. If you maintain or use a NOS variant, please check its description
  14. here in this paper.  If it's wrong, or if there isn't one, please tell
  15. the maintainer.  Other additions and corrections are also welcome.
  16.  
  17. This document is maintained by mg@bds.com, as of December 1992.
  18.  
  19. ----------------------------------------------------------------------
  20. Repositories
  21.  
  22.     The best place to get NOS is from someone you know who is already
  23.     using it.
  24.  
  25.     You can get it over the Internet from several anonymous FTP sites.
  26.     The best-known site is ucsd.edu.
  27.  
  28.     ucsd.edu:/hamradio/packet/tcpip
  29.  
  30.         grivel.une.edu.au    (Australian mirror of ucsd.edu)
  31.  
  32.     [ ucsd needs a README with one-liners for each directory ]
  33.  
  34.     It is also found on many telephone BBS systems, including:
  35.  
  36.     N8EMR's Ham BBS        (614) 895-2553
  37.     ChowdaNet        (401) 331-0334    V.32    (Fidonet 1:323/120)
  38.     ChowdaNet        (401) 331-0907    V.32bis
  39.     The Antenna Farm    (512) 444-1052    V.32bis N81
  40.  
  41.     WB3FFV            (301) ?
  42.     Gracilis BBS        ?
  43.         AMNET BBS        +61-3-366-7055 (Australia)
  44.  
  45.     N1BEE distributes a cleaned-up version of the GRI code.  The
  46.     primary distribution point is ChowdaNet.  This seems to be
  47.     one of the more stable and solid end-user releases, though the
  48.     last version is nearly a year old now.
  49.  
  50.  
  51. Documentation
  52.  
  53.     Unfortanately, NOS is poorly documented compared to many other
  54.     programs.  This is not due to a lack of effort by the developers.
  55.     It is because there are so many versions of NOS, being
  56.     developed by many people who have no regular contact, and each
  57.     version changes very frequently.  Any documentation quickly
  58.     becomes out of date.
  59.  
  60.     For some features, there is no documentation at all.  Other
  61.     features that are documented aren't present in all executables,
  62.     even those produced by the same source, because that feature may
  63.     have been turned off in the executable you are using.
  64.  
  65.     Thus, it is likely that the documentation you can find won't
  66.     exactly match the program you are using, and you will have to
  67.     refer to a full "base" manual and to another document that
  68.     describes the differences from the base version.
  69.  
  70.  
  71.     intronos.zip  This is the best introduction to NOS for people
  72.           who understand something about packet radio.
  73.           
  74.     userman.zip      A complete user manual for the last pre-NOS version
  75.           of NET... 890421.1
  76.  
  77.     nos_1229.man  A complete user manual for PA0GRI NOS.
  78.  
  79.     help_v02.zip  mailbox help files (for ka9q 901130)
  80.  
  81.     The several volumes of the ARRL Computer Networking Conference (CNC)
  82.     Proceedings contain many papers on TCP/IP and NOS.  These are
  83.     available from ARRL Headquarters in Newington, CT.
  84.  
  85.     Send mail to info@arrl.org for an automatic response pointing at
  86.     more information about the ARRL.
  87.  
  88.     Particularly useful CNC articles are listed in the bibliography
  89.     at the end of this document.
  90.  
  91.     Some of these papers are available online in the directory
  92.     ucsd.edu:/hamradio/packet/tcpip/docs.
  93.  
  94.     Other papers are also available on ucsd.edu:
  95.  
  96.     ka9qnos.ps.Z
  97.     netnix-paper.ps.Z
  98.     connex.Z
  99.     1987            Directory of papers from CNC 1987
  100.     1988            Ditto 1988
  101.  
  102.     There is no document dedicated to describing the internals of NOS.
  103.     There is a section of the user manual that describes some of the
  104.     socket library calls.  Look in the section on NOS Internals here
  105.     in this document.
  106.  
  107.     John Ackermann, AG9V <John.Ackermann@DaytonOH.NCR.COM> offers:
  108.  
  109.     I hesitate to make the offer, but on a time-permits basis I
  110.     can provide a hard-copy set of my doc, the PA0GRI ref manual,
  111.     the Rutgers tcp/ip intro, and a disk with N1BEE's GRINOS for
  112.     the cost of copying and mailing -- usually $10 or $15.  It's
  113.     best to call, write, or email first to find out what the
  114.     turnaround time is likely to be.  My mailing address:
  115.  
  116.         John Ackermann   AG9V
  117.         2371 Stewart Road
  118.         Xenia, OH   45385
  119.  
  120.  
  121.     Gary Ford <ford@eecs.ucdavis.edu> has written a "Beginner's Guide
  122.     to TCP/IP on the Amateur Packet Radio Network Using the KA9Q
  123.     Internet Software" alternately titled "End User's Guide to TCP/IP".
  124.     Version 2.0 of the guide documents the use of NOS 911229 (PA0GRI
  125.     v2.0h) and BM v3.3.2.  It is available on:
  126.  
  127.     ftp.eecs.ucdavis.edu:pub/ka9q
  128.      or ucsd.edu:hamradio/packet/tcpip/docs
  129.  
  130.     nosbgnlp.zip    unzips to a 66 page ascii "line printer" document,
  131.             which can be printed with the UNIX lpr command.
  132.  
  133.     nosbgnps.zip    unzips to a 54 page PostScript document, which can
  134.             be printed on a PostScript printer.
  135.  
  136.     nosbgnpr.zip    unzips to a 66 page ascii "print" document, which
  137.             can be printed using the DOS print command.  You
  138.             will need to send control codes to your printer to
  139.             control the page offset and you should turn
  140.             perforation skip off.  (not on ucsd.edu)
  141.  
  142.  
  143. Mailing lists
  144.  
  145.     rec.radio.amateur.packet    (Usenet newsgroup)
  146.  
  147.     This is the place to ask beginner questions, such as
  148.     "How can I use a baycom modem with NOS?"
  149.  
  150.     tcp-group@ucsd.edu
  151.  
  152.     This is a forum for NOS developers to discuss things they're doing.
  153.     It is NOT the right place to ask beginner questions.
  154.  
  155.     Send mail to listserv@ucsd.edu with the word HELP as its only contents.
  156.     It will send you instructions by return mail.
  157.  
  158.     nos-bbs@hydra.carleton.ca
  159.  
  160.     The purpose of this list is discussion of the ins and outs of running
  161.     KA9Q NOS as something approximating a full-service BBS, which generally
  162.     boils down to discussion of the care and feeding of the JNOS version of
  163.     NOS, maintained by Johan, WG7J.  Discussion of peripheral issues which are
  164.     likely to be of interest to NOS BBS sysops, such as the convers server,
  165.     NNTP, POP, etc, are also welcome.
  166.  
  167.     Submissions to the list go to:
  168.     nos-bbs@hydra.carleton.ca
  169.  
  170.     Subscription/deletion requests and other administrivia to:
  171.     nos-bbs-request@hydra.carleton.ca
  172.  
  173.     Note that the reply path for list mail is set to go to the list address,
  174.     not the originator.  That's by design - to encourage *public* discussion.
  175.     If you want to send private mail to a nos-bbs contributor, please take
  176.     care to get the address right!
  177.  
  178. Operating systems and other machines
  179.  
  180.     NOS has been ported to several operating systems.  Most development
  181.     still happens under DOS.  At some point, all the different platforms
  182.     could have been built from a single set of sources.  Since then,
  183.     they have diverged enough that re-integrating the changes back into
  184.     a common set of sources would take some effort.
  185.  
  186.     <bdale@col.hp.com> writes:
  187.  
  188.     When the list of targets was really small, in about 1988-9
  189.     maybe, we had a single set of sources that built on various
  190.     targets... the 890421.1 release supported DOS/Borland and a
  191.     variety of Unix variants.  I haven't paid much attention to
  192.     this since then.
  193.  
  194.  
  195.     OS/2
  196.     Windows
  197.     Macintosh
  198.     Amiga
  199.  
  200.  
  201. Installation and setup tools
  202.  
  203.     An installation program for some versions of NOS is available.
  204.  
  205.  
  206.     The NOS_KIT package explains well the several files used by NOS for
  207.     configuration.
  208.     It is a package for installation of the 901130 versions of KA9Q
  209.     and G1EMM NOS (it includes executables for 901130 G1EMM and KA9Q).
  210.     This "kit" is a reasonable place for a newcomer to get started.
  211.  
  212.     Written:  Dave Fritsche (wb8zxu)
  213.     E-mail:   dlf@phx.mcd.mot.com
  214.     Version:  910324
  215.     Path:     UCSD.EDU /hamradio/packet/tcpip/install/nos_kit.*
  216.  
  217.     Dave writes:
  218.  
  219.     The "kit" should be unpacked and placed onto floppy disks.  It
  220.     all fits on a single 720k or larger disk.  This disk is then
  221.     used as a NOS installation disk (the files can also just be
  222.     stuffed into a subdirectory on a harddisk if you prefer -- but
  223.     put them in a directory close to root (c:\) -- long pathnames
  224.     screw things up).  Once the installation disk is ready (I hand
  225.     them out to locals), just put the disk in a drive, change to
  226.     the drive (e.g: a:), then type "install".  The user is
  227.     presented with two screens of "fill in the blanks" kind of
  228.     data.  Just use the <Enter>, <Tab>, <SHFT><Tab>, <Up-arrow>,
  229.     and <Down-arrow> to move between the entries.  It's pretty
  230.     self-explanatory.  There are a couple of questions that
  231.     weren't very clear, that should be cleaned up.  But it's
  232.     something to help get a person off on the right foot.  After
  233.     the blanks have been filled in, the installer goes off and
  234.     makes all the needed subdirectories, creates an autoexec,
  235.     ftpusers, domain.txt, . . ., and then unpacks the binaries and
  236.     all the support files.
  237.  
  238.     The "kit_src.*" files, are the source code for the "install"
  239.     program contained in the kit.  Numerous people have recently
  240.     asked me for the source code, so that they could update the
  241.     installation kit for GRI/WG7J NOS.  Sure hope they can pull it
  242.     off!  Wish I had the time to do it myself.  Hopefully, Brian
  243.     will get this source code moved into the "install" directory
  244.     at some time in the near future.  Generally speaking, endusers
  245.     won't need or want these source archives.
  246.  
  247. Versions
  248.  
  249.     The main NOS repository harbors a bewildering variety of NOS variants.
  250.     All of them are derived in some way from some ancestor of the
  251.     KA9Q version.  The one that is best for you depends on what you
  252.     want to use it for.
  253.  
  254.     One reason why there are so many versions of NOS is that it is
  255.     used for widely different purposes by different groups.
  256.     Each one needs it to solve a particular problem, or provide some
  257.     service, so they implement whatever feature they need.  There are
  258.     many such groups throughout the world, and many of them have no
  259.     regular contact with any of the others.
  260.  
  261.     Each NOS variant tends to reflect the cumulative efforts of a
  262.     person or group, rather than a particular added feature.  Some
  263.     people modify more than one area -- for instance, they might add a
  264.     new TCP server, and "enhance" the way datagrams are routed.
  265.  
  266.     The variants are usually known by the names of their authors,
  267.     and they often have nicknames.  Some of the more common ones are
  268.  
  269.     ka9q
  270.     wg7j (jnos)
  271.     pa0gri
  272.     grinos        based on PA0GRI, cleaned up by N1BEE
  273.     pe1chl
  274.     wnos           
  275.     hrlnos
  276.     gpsnos        Georgia Packet Switch, produced by GRAPES
  277.             (Georgia Radio Amateur Packet Enthusiasts)
  278.     gracilis
  279.     wampes
  280.     g1emm
  281.     pmnos
  282.  
  283.  
  284.     Most versions of NOS share a common core of commands.
  285.  
  286.     Most versions of NOS have all of the following facilities in them,
  287.     but emphasize one over the others:
  288.  
  289.         packet switch
  290.         services
  291.         UI terminal
  292.  
  293.     For example, GPSNOS is optimized to be a standalone packet switch,
  294.     and doesn't offer any other services.  (This is what DOS NOS is
  295.     really best at.) WNOS has a nice split-screen user interface, and
  296.     PMNOS has an even more elaborate one.
  297.  
  298.  
  299.     The features supported by NOS can be divided into categories this way:
  300.  
  301.      network        NETROM, FlexNet
  302.      user-interface        split-window, fkey, command recall
  303.      hardware        special serial ports, network interfaces
  304.      services        callbook server, pop, smtp, convers, mailbox
  305.  
  306.     Here is a list of the features by category:
  307.  
  308.     Network
  309.  
  310.         TCPIP
  311.         AX.25
  312.         NETROM
  313.         WAMPES AX.25 routing    WNOS, WAMPES
  314.  
  315.     hardware
  316.  
  317.         asy    standard PC serial port
  318.         hs    high-speed serial driver for 8530 (no DMA)
  319.         scc    generic 8530 driver
  320.         DRSI
  321.         EAGLE
  322.         PI
  323.         PACKTWIN
  324.         dialer
  325.  
  326.     services
  327.  
  328.         ttylink (chat)
  329.         mbox
  330.         bbs
  331.         convers
  332.         pop
  333.         smtp
  334.         nntp
  335.         ftp
  336.         finger
  337.         callbook    gracilis
  338.  
  339.     user-interface
  340.  
  341.         split-screen (WNOS)
  342.         scrolling, cut/paste, mouse (PMNOS)
  343.         fkey
  344.  
  345.  
  346.     ----------------------------------------------------------------------
  347.  
  348.  
  349.     These versions have been optimized as packet switches:
  350.  
  351.           ka9q
  352.           gpsnos
  353.           pe1chl nos
  354.           pa0gri
  355.           gracilis
  356.  
  357.     These versions emphasize user-interface:
  358.  
  359.           hrlnos
  360.           minihrl
  361.           wnos
  362.           pmnos
  363.  
  364.     These versions emphasize services:
  365.  
  366.           wg7j
  367.  
  368.     ----------------------------------------------------------------------
  369.  
  370.     Here are brief descriptions of some NOS variants.  If your
  371.     favorite one isn't here, or if you can describe it better, tell me!
  372.     I'm particularly interested in documenting ancestry where possible.
  373.  
  374.  
  375.     net        Phil Karn <karn@qualcomm.com>
  376.  
  377.         The last pre-NOS version of NET... 890421.1
  378.         documentation in userman.zip
  379.  
  380.  
  381.     ka9q                                  21-Jun-92
  382.         Phil Karn <karn@qualcomm.com>
  383.  
  384.         This is the base version from which the others are derived.
  385.  
  386.         [ I haven't tried this one yet. - mg ]
  387.  
  388.         Latest version on ucsd is 920621.
  389.  
  390.         wb8zxu:
  391.         A lot of people consider 901130 the last "really good" working version of
  392.         NOS.  After that version, NOS got real fat, and fairly quirky.  It also
  393.         split about 5 different ways . . . PA0GRI, WG7J, PMNOS, WNOS, . . .
  394.  
  395.     wg7j                                  15-Dec-92
  396.         Johan K. Reinalda   WG7J    <johan@ece.orst.edu>
  397.  
  398.         Also called JNOS.
  399.  
  400.         exchanges mail with W0RLI-style bbs systems
  401.             split-screen ttylink sessions
  402.         command recall (as of 1.07)
  403.         converse
  404.         ip and tcp access control
  405.         accesses all dos drives (not just "root" one)
  406.  
  407.         This is one of the more actively developing versions.
  408.  
  409.         Based on KA9Q 911229 release, at least up to JNOS 1.07.
  410.         Later versions will be based on KA9Q 920618.
  411.  
  412.         This is a service-oriented NOS.  It acts as a "full-service" bbs.
  413.         It can exchange mail with conventional amateur BBS systems,
  414.         such as MSYS and W0RLI, as well as via SMTP and NNTP.
  415.  
  416.         This version is also widely used as a gateway between
  417.         internet and amateur packet radio networks.
  418.  
  419.         This has a rewritten 8250 UART driver.
  420.         [I've found it to be slower than the previous one -- see
  421.          later -mg]
  422.  
  423.         Derived somehow from was0206, pa0gri, wnos.
  424.  
  425.  
  426.     pa0gri                                      29-Dec-91
  427.         Gerard van der Grinten, PA0GRI
  428.         
  429.         This is one of the more actively developing versions.
  430.         This is used as the basis for other versions, including gracilis.
  431.  
  432.         nos_1229
  433.         gri20m
  434.  
  435.         mods allowing accessing many disk drives by FTP server
  436.         made for GRINOS 1.8b, draft version for 2.0l and (in
  437.         nearest future) 2.0m available by anonymous FTP on
  438.         zfja-gate.fuw.edu.pl (name GRI20L-1.ZIP).  Jerzy Tarasiuk
  439.         <jt@zfja-gate.fuw.edu.pl>
  440.  
  441.         N1BEE distributes a cleaned-up version of the GRI code;
  442.         this cleaned up version is called GRINOS; it is distinct
  443.         from pa0gri's version.
  444.  
  445.     grinos
  446.         Mike Bilow N1BEE    <MIKEBW@ids.net>
  447.  
  448.         The primary distribution point is ChowdaNet.
  449.  
  450.         (GRINOS is not a synonym for PA0GRI NOS.)
  451.  
  452.         This is a cleaned-up and packaged version based on the pa0gri.
  453.         It is one of the more stable and solid end-user
  454.         releases.
  455.  
  456.         Mike tries to make sure that his bug fixes are recycled
  457.         into the main PA0GRI releases, so you only tend to run a
  458.         version or two ahead on bug fixes with GRINOS.
  459.  
  460.  
  461.     gracilis
  462.         info@gracilis.com
  463.         Don Lemley N4PCR
  464.         Milt Heath
  465.  
  466.         There seem to be several "gracilis" versions.  One is
  467.         publically available on ucsd.edu.  It seems to be
  468.     derived from pa0gri.
  469.  
  470.     Gracilis has a special version of NOS that runs in their
  471.     PackeTen -- it doesn't run on a PC.
  472.     The Gracilis PackeTen is a standalone packet switch with a
  473.     special communications processor (the Motorola 68302).
  474.     This standalone version is derived from work described in a
  475.     paper on NOSINABOX by Bdale Garbee, Don Lemley, and Milt Heath
  476.     in the CNC proceedings.
  477.  
  478.     There are rumors that Gracilis has also substantially
  479.     reworked NOS.  This version doesn't seem to be publically
  480.     available in source form, but they supply it with 
  481.     their PackeTwin (and PackeTen) modem/radio hardware.
  482.  
  483.     [Are the binaries available, and will they support other
  484.      hardware devices?]
  485.  
  486.     There is a mailing list that discusses Gracilis products.
  487.     To subscribe, send mail to
  488.  
  489.        listserv@knuth.mtsu.edu
  490.  
  491.     with an empty subject line and a message body (beginning in
  492.     Column 1) with the command:
  493.  
  494.            SUBSCRIBE GRACILIS-L _your_address_here_
  495.  
  496.  
  497.     Says bdale:
  498.  
  499.         NOS is integral, and doesn't look a whole lot like NOS
  500.         internally any more.  Don Lemley and Milt Heath at Gracilis
  501.         acquired a commercial text-based window system with source,
  502.         and heavily modified it to work in a mutli-task environment.
  503.         They also found and have integrated an overlay manager to
  504.         deal with the memory size problems.  Don has spent
  505.         considerable time finding and squashing memory leaks, and
  506.         other problems in NOS.  What they ended up with is a
  507.         completely different user interface to a package that does
  508.         all of what NOS does, and more.
  509.  
  510.  
  511.     wnos                                 14-Jan-92
  512.         Michael Bentrup (DB3FL)
  513.         Mike Chace (G6DHU @ GB7IMB)
  514.  
  515.         ucsd.edu:/hamradio/packet/tcpip/wnos
  516.  
  517.         A very detailed set of manuals for WNOS3 and 4 is in the
  518.         wnos directory on ucsd.edu.
  519.  
  520.         The author of this software Michael Bentrup (DB3FL).  He
  521.         is sadly not connected to the Internet.  Mike Chace (G6DHU
  522.         @ GB7IMB) produces a version of the software more suited
  523.         to the UK environment where, for example, NET/ROM is
  524.         required.
  525.  
  526.         WNOS was the first system to port two important features of the
  527.         WAMPES Unix software namely the AX.25 autorouting front-end and
  528.         the convers server. As far as I know, ALL flavours of NOS that
  529.         support the convers server have used the WNOS code and therefore
  530.         should be compatible.
  531.  
  532.         A unique feature of WNOS is the AX.25 autorouter.
  533.  
  534.         The WNOS front end allows a system to network at Level 2.
  535.         The WAMPES AX.25 front-end stores paths to other AX.25
  536.         systems and users may use these paths without reference to
  537.         the full path. Each system along the path simply looks up
  538.         the next hop, opens a connection at L2 and relays the
  539.         frames. All this is transparent to any user, be they an
  540.         ordinary L2 user or someone using L2 to push TCP/IP through
  541.         a network. Example
  542.  
  543.             G6DHU   ->  G4WRW   ->   G7XXX  -> G8YYY
  544.  
  545.         If G4WRW has a route to G8YYY (via G7XXX), G6DHU can use
  546.         this route without reference to the full path. In other
  547.         words, all G6DHU need do to open a connection to G8YYY is
  548.         say
  549.  
  550.             connect G8YYY via G4WRW
  551.  
  552.         as soon as G4WRW sees the connect request, he will open a
  553.         connection to G7YYY via G7XXX. Therefore, each link on the
  554.         path is hop-to-hop acknowledged and the end users only need
  555.         to know their nearest link in the path and the final
  556.         destination in order to be routed through the system. Also,
  557.         any traffic directed through your system in this way, will
  558.         have the path information saved and therefore available for
  559.         future use.
  560.  
  561.         WNOS is also unique in that it remembers (and saves to disk)
  562.         ALL of the routing table information
  563.  
  564.             AX.25 paths (as discussed above)
  565.             NET/ROM routing table
  566.             ARP table
  567.             IP routing table
  568.  
  569.         Therefore, with WNOS it is quite feasible to start with a
  570.         system completely devoid of routing table information and
  571.         then get to know all this information dynamically. Also, as
  572.         paths etc change, tables are automatically saved and updated
  573.         on disk. It is a neat system!
  574.  
  575.         WNOS was also the first version of NOS to support real time
  576.         data compression using LZW coding. email (via SMTP), news
  577.         articles (via NNTP) and convers interlink traffic may all be
  578.         transferred in data compression mode. Data is compressed
  579.         before sending and results in an average of 45-55% reduction
  580.         in data transferred against plain-text transfer.
  581.  
  582.         Another item of interest is the NNTP system. WNOS contains
  583.         everything that allows a user to deal with news articles.
  584.         There is a news poster and a news reader. The NNTP
  585.         filesystem is automatically updated, for example, if an
  586.         article arrives for a newsgroup unknown to the local system.
  587.         The news spool is updated immediately and the articles
  588.         accepted.  WNOS also contains a special server which allows
  589.         AX.25 mail to be converted to an NNTP news article and
  590.         cross-posted to a newsgroup.
  591.  
  592.  
  593.         This is most suited as an end-user node, rather than as a
  594.         network service provider -- that is, it's a better terminal
  595.         than bbs.
  596.  
  597.         Has a split-window user interface.
  598.         A status line at the top of the screen displays info
  599.         about the current window, and indicates when there is new
  600.         activity on other windows.
  601.         (Each "window" is really a full screen.  You can switch among
  602.         screens, but they don't overlap.)
  603.         There is an input area at the bottom of the screen.
  604.         attribute command sets monitor type <color|mono>.
  605.  
  606.         Supports convers, though probably not compatible with JNOS.
  607.  
  608.         The 'w' in the name is for WAMPES, which is an AX.25 routing
  609.         mechanism (used in FlexNet?).
  610.  
  611.         By the way, I had a quick look in WNOS docs and it seems WNOS
  612.         is ONLY a packet switch, it supports neither SMTP nor BBS message
  613.         commands.
  614.  
  615.     hrlnos                            19-Mar-92
  616.         by R. Kolb PA3EUG pa3eug@pi8hrl.ampr.org; PA3EUG @ ON4UBO;
  617.         Derived from PA0GRI 16-Aug-91.
  618.  
  619.         Has a split-window user interface like WNOS.
  620.  
  621.         FlexNet: hop-to-hop-ack digipeating
  622.  
  623.         mbox log
  624.         mem efficient
  625.         mem thresh
  626.  
  627.         mode ipcam    uses AX25 PID Text rather than IP.
  628.  
  629.         Does AX.25 autorouting.
  630.  
  631.         timers reworked.  IP times are now dynamic.
  632.         Saves arp cache to disk.
  633.  
  634.         minihrl is a smaller version of hrlnos.
  635.         It has no netrom support, thereby gaining 80k of memory.
  636.  
  637.     gpsnos                                 11-Nov-91
  638.         Based on KA9Q NOS 910420.
  639.  
  640.         Optimized as a packet switch by GRAPES, B. Nebergall, K4TQL.
  641.  
  642.         Adds netrom/ax25 switch optimizations, removes mailbox
  643.         functions.  Has a remote sysop facility with a good "public"
  644.         password protection scheme.  Supports up to 5 hardware
  645.         ports, including 56K ports.
  646.  
  647.     pmnos
  648.             Presentation manager NOS,
  649.         Walt Corey KZ1F  <kz1f@legent.com>
  650.  
  651.         The authoritative drop site for PMNOS is UCSD.EDU.
  652.  
  653.         The current beta version of PMNOS is PMNOS 1c: PMNOS1C.ZIP
  654.  
  655.         THIS IS STILL BETA! Please don't distribute this code
  656.         without making sure that it is accompanied by:
  657.  
  658.             PMAIL.ZIP    9/18/92 -- 14:40:04
  659.             pmreadme.1st 10/6/92 -- (update includes this
  660.                         message)
  661.  
  662.         Users should have access to nos_1229.man(lp) (GRINOS manual)
  663.         and the readme files from JNOS 1.04... There is NO OTHER
  664.         documentation YET....
  665.  
  666.         The "cleaned&cleared" release will be posted on UCSD.EDU and
  667.         the source code will be integrated with JNOS.
  668.  
  669.         After Johan releases JNOS 1.05 (soon hopefully) a "current
  670.         working" compile of PMNOS will appear at UCSD.EDU and
  671.         at WG7J.AMPR.ORG.... The OS/2 and PM sources will be
  672.         combined with the rest of JNOS and an OS/2 compile selected
  673.         by #ifdef statements... IF everything goes well in the
  674.         project.  Currently, The IBM C set/2 compiler is the only
  675.         compiler that has been used to build PMNOS. I have
  676.         experimented with the GNU C/C++ compiler, but have had no
  677.         luck so far (I am not a "real programmer"). Other compilers
  678.         such as the forthcoming Borland, Zortech, and Watcom
  679.         compilers for OS/2 should work in competent hands.... But
  680.         these are still unknowns.
  681.  
  682.         WARNING-- if you have not programmed the PM environment,
  683.         you had better go "larval stage" with the OS/2 'redbooks'
  684.         (and other PMwindow specific DOCS!!) for a while before
  685.         getting creative.... Stick to customized builds of the code
  686.         for YOUR OWN PURPOSES. PLEASE don't distribute new compiles
  687.         of this stuff!!! This ain't just DOS anymore!! The
  688.         'redbooks' can be downloaded from software.watson.ibm.com by
  689.         anonymous FTP.
  690.  
  691.         Authoritative answers to questions on communication problems
  692.         for OS/2 version 2.0 can be found on HOBBES.NMSU.EDU and
  693.         SOFTWARE.WATSON.IBM.COM.
  694.  
  695.         Network driver support should be along later in the
  696.         year: Planned are SCC, PI, and an NDIS 'shim'.
  697.  
  698.         The SCC and PI drivers will be loaded at IPL (in the
  699.         config.sys schema) as:
  700.  
  701.         device=C:\OS2\SCC.SYS <parms similar to attach statement #1
  702.                    in autoexec.nos>
  703.  
  704.         The NDIS 'shim' will enable use of NDIS drivers in a manner
  705.         similar to the NDIS_PKT packet driver set. You will have to
  706.         scrounge up your own copy of the appropriate OS/2 NDIS driver,
  707.         protman.sys, etc.....
  708.  
  709.         All of the above is subject to negation, reversal,
  710.         alteration, etc., by Walt Corey.
  711.  
  712.  
  713.     wampes                            16-Sep-92
  714.             Dieter DK5SG / N0PRA <deyke@fc.hp.com>
  715.         ucsd.edu:/hamradio/packet/tcpip/wampes
  716.  
  717.         WAMPES is a Unix based system derived from KA9Q. It supports all
  718.         the usual TCP, UDP and IP services and was the first to provide
  719.         the convers system (like the Internet's IRC). It was written by
  720.         Dieter Deyke (DK5SG) and ran exclusively on machines running the
  721.         HP-UX Unix flavour. It has since been ported to ISC and SCO Unix
  722.         running on PCs and within the last few monts it has been sucessfully
  723.         ported to Linux, the free Unix for 3/486 PCs.
  724.  
  725.         It currently  supports HP 9000 series 300, 400,
  726.         700,  and 800  computers,  running  HP-UX  08.xx.  
  727.         It at least compiles on SunOS, but hasn't been thoroughly tested.
  728.  
  729.         Alan Cox <iiitac@pyramid.swansea.ac.uk>
  730.  
  731.         On the subject of wampes there is also a version for
  732.         interactive unix and allegedly one for linux (tho I've
  733.         not traced this).
  734.  
  735.  
  736.         [How is this related to HRLNOS? ]
  737.  
  738.     k5jb
  739.         Joe Buswell, K5JB, Midwest City OK
  740.         Packet Address: k5jb@k5jb.ok.usa.na
  741.         Amateur Radio IP Address: 44.78.0.2
  742.         Internet: jbus@sabea-oc.af.mil
  743.         CIS: 70305,1341
  744.  
  745.             This is a variant of ka9q (890421) that runs on SCO Unix.
  746.  
  747.     pe1chl                            1-Jul-92
  748.  
  749.         Network
  750.         netrom fixes
  751.  
  752.         "ftl0" and "broadcast" protocols/command sets for access
  753.         to the microsats like AO-16 and UO-22
  754.  
  755.         can receive (but not transmit) the PACSAT broadcast
  756.         protocol, which is sent    by the PACSAT amateur satellites.
  757.  
  758.         UI changes
  759.         fkey
  760.         version
  761.         screen
  762.  
  763.         services
  764.         bbs forwarding scripts
  765.  
  766.         Costas SV1XV (ex G7AHN) <kkrallis@nrcps.ariadne-t.gr>
  767.  
  768.         Regarding MINIHRL, the author PA3EUG states it is HRLNOS without
  769.         the NETROM code. I have been unable too to find the full HRL NOS
  770.         code, it is not on UCSD.EDU or on any other well known site.
  771.  
  772.         PE1CHL is a release of NET.EXE with very limited  user services
  773.         very simple mailbox but it is reasonably well designed for ax25
  774.         and also supports the "ftl0" and "broadcast" protocols/command sets
  775.         for access to the microsats like AO-16 and UO-22.
  776.  
  777.         We might run it here in Athnes on SV1IW's station to
  778.         create a TCP/IP sat gateway.
  779.  
  780.         Good docs on PE1CHL are files NETDOC1.ARC and NETDOC2.ARC
  781.         in directroy /hamradio/packet/tcpip/pe1chl on ucsd.edu
  782.  
  783.         G0BSX mail server:
  784.         ucsd.edu:/hamradio/packet/tcpip/g0bsx/server.tar.Z
  785.  
  786.     g1emm
  787.             Kelvin Hill G1EMM    <kelvin@cix.compulink.co.uk>
  788.         ucsd.edu:/hamradio/packet/tcpip/g1emm
  789.  
  790.         This was once a very actively developed version, but doesn't
  791.         seem to have grown much in the past year or two.  It
  792.         branched off into PA0GRI (and hence GRINOS).
  793.  
  794.         SV1XV, Costas <kkrallis@leon.nrcps.ariadne-t.gr> writes:
  795.  
  796.         Kelvin also distributes SMALLEMM.EXE (without
  797.         AX.25/NETROM/KISS, which only supports SLIP and
  798.         Ethernet interfaces) and is very small. I use it on my
  799.         laptop Amstrad PPC-640D. He also distributes an
  800.         example of a full G1EMM NOS installation in the file
  801.         G1EMMKIT.ZIP.
  802.  
  803.         N8GNJ,    Steve Stroh     <strohs@strohpub.com> writes:
  804.  
  805.         I think that when Kelvin got out of NOS codesmithing,
  806.         PA0GRI took his code and started the now popular
  807.         PA0GRI variant of NOS.  The G1EMM code is effectively
  808.         obsolete, but it is probably maintained on several
  809.         systems.
  810.  
  811.  
  812.     unknown
  813.  
  814.         Alan Cox <iiitac@pyramid.swansea.ac.uk> writes:
  815.  
  816.         There will be a ka9q net with smtp links to the O/S, host
  817.         mode login via ax25 and the ability to act like a netrom
  818.         node for Linux very soon. I'm just finishing debugging it.
  819.         If I get it finished I'll mail you if you want to stick it
  820.         on the list.
  821.  
  822. ----------------------------------------------------------------------
  823. NOS Internals
  824.  
  825.     There is not a whole lot of documentation on NOS internals.
  826.  
  827.     The socket interface used by the TCP clients and servers closely
  828.     resembles the one found in BSD Unix.
  829.  
  830.     The tricky parts arise in dealing with the multi-tasking kernel.
  831.  
  832.     More details on the NOS internals may be found in the following files:
  833.  
  834.      [What internals documentation is there?]
  835.  
  836. Source code organization
  837.  
  838.     The sources are distributed in a single flat directory.
  839.     The names of the files do not have prefixes that would identify
  840.     the part of NOS to which they belong.
  841.  
  842.     The modules are divided into groups.  Each group of modules is
  843.     placed in a library.
  844.  
  845.     Most variants of NOS are distributed in two or more packages.
  846.     There are no guidelines for what to put in a distribution, or how
  847.     to package them, so each NOS variant is distributed differently.
  848.  
  849.     NOS is generally packaged appropriately for the system that runs it.
  850.     DOS versions of NOS are almost always packaged in zip files.
  851.     Unix versions appear as compressed tar archives, and less
  852.     frequently as zip files.
  853.  
  854.     One package typically contains an executable, and possibly some
  855.     sample init files.  Another package contains the documentation
  856.     specific to that variant.
  857.     Another package often contains the full set of sources that was
  858.     used to build the executable.
  859.  
  860.     It might seem silly to distribute the entire set of sources even
  861.     when only a couple of things have changed.  It is not practical to
  862.     distribute packages of only those modules that have changed,
  863.     because there is no standard base version to serve as a reference.
  864.     Even if there were, that reference version would itself be
  865.     changing, so people would have to keep several copies of it on
  866.     hand.
  867.  
  868. ----------------------------------------------------------------------
  869. Running different NOS versions with the same configuration
  870.  
  871.     It is sometimes possible to use the same set of configuration
  872.     files and tree of directories with several versions of NOS.
  873.     Some versions are so different, however, that they will not be
  874.     able to understand each other's config files.  For instance, WNOS
  875.     has trouble with the config files for JNOS.  The mailbox help
  876.     files (in spool/help) are often quite specific to a particular version.
  877.  
  878.     Even worse, the commands that a NOS understands depends on what
  879.     features were turned on when it was compiled.  If your config file
  880.     contains commands to set up the NETROM interface, they will
  881.     produce error messages if you run a NOS that was compiled without
  882.     NETROM support turned on.  There isn't really any way to fix this
  883.     problem, and it isn't all that unreasonable.
  884.     
  885.     The following are some known inconsistencies that could be fixed
  886.     by someone who has the time to do it.  [Add to this list, please!
  887.     Try to be as specific as possible.  The less time someone has to
  888.     spend fixing something, the more likely it will be fixed.]
  889.  
  890.     -   The ftpusers file requires its fields to be separated by
  891.     spaces in most versions of NOS.  You can't use tabs.
  892.     [This has been fixed in JNOS 1.07.]
  893.  
  894.     -    The 'domain suffix' string must NOT have a leading period, but
  895.     can (must?) have a trailing period.  If you do it wrong, some
  896.     versions will complain, but most will just quietly fail to work
  897.     properly.  I think it would be reasonable for the command to
  898.     munge the string to look the way it should.
  899.  
  900.     -    In most versions of NOS, the arguments to some commands in
  901.     autoexec.nos MUST be separated from each other by SPACES.  If
  902.     you mix tabs and spaces, the command will be parsed incorrectly
  903.     due to a bug in the parser.
  904.     [This has been fixed in JNOS 1.07.]
  905.  
  906.     -   There are minor variations in similar subcommands:
  907.  
  908.         ax25 retries
  909.     vs.    netrom retry
  910.  
  911.     I'd vote for the plural form myself, because the singular form
  912.     might suggest that it is a boolean that controls whether a retry
  913.     should happen, whereas it is actually an integer count.
  914.  
  915.     -    The help strings that the commands print when given no arguments,
  916.         as well as documentation, use "label" and "interface", "host",
  917.     "address", and "destination" ambiguously.  "address" could be
  918.     an IP address, an AX.25 callsign, or an Ethernet address.
  919.     "label" usually turns out to be the name of an interface.
  920.  
  921.     Ian Wade G3NRW has suggested the following conventions in his
  922.     paper in the 10th (1991) ARRL CNC proceedings.
  923.  
  924.     <callsign>     an AX.25 MYCALL callsign (e.g. G3NRW-5)
  925.  
  926.     <hostname>     a host name in domain.txt
  927.                (e.g. g3nrw or g3nrw.ampr.org.)
  928.  
  929.     <ipaddress>    an internet address (e.g. 44.131.5.2)
  930.  
  931.     <host>           <hostname> or <ipaddress>
  932.  
  933.     <username>     a user at a computer (e.g. ian)
  934.  
  935.     <interface>    a device interface name (e.g. ax0)
  936.  
  937.     <ioaddress>    a device I/O base address (e.g., 0x3f8)
  938.  
  939.     <vector>       an IRQ level (e.g. 4)
  940.                [why not <irq> ? - mg]
  941.  
  942.     -   Different commands do different things when invoked with no arguments.
  943.     This in itself isn't so bad, except that you can't always tell
  944.     whether doing so had an effect or not.
  945.  
  946.         Some commands print a help message when invoked with no arguments.
  947.     Unfortunately, some simply print "needs at least one argument",
  948.     instead of just telling what the choices are.  (If you type just
  949.     "ax25" it says that, if you type "ax25 ?" it shows you the
  950.     subcommands.)
  951.  
  952.     Other commands that can take arguments display some status
  953.     information when they are invoked with no arguments.
  954.     Unfortunately, some of them don't appear to do anything -- you
  955.     just get another prompt.  This could happen if they would
  956.     report some string and that string is empty, such as the
  957.     "motd" command.  Such commands should really print something
  958.     like "<not set>", instead of appearing not to do anything.
  959.  
  960.     Moreover, if a command that could take arguments *does* do
  961.     something when invoked with no arguments, it should say that
  962.     it has done it.  For instance, a command might set a variable
  963.     a default value if invoked with the value omitted.  (No
  964.     commands that I know of do this; omitting a value causes them
  965.     to print the current value.)
  966.  
  967.     Note that commands can't tell if they are being invoked from
  968.     autoexec.nos or by someone typing interactively.  This is
  969.     probably why most of them aren't very verbose.
  970.  
  971.  
  972. ----------------------------------------------------------------------
  973. Packet drivers
  974.  
  975.     The packet drivers from Clarkson and others are used to allow
  976.     NOS to interface to many pieces of hardware and software.
  977.  
  978.     NOS can be interfaced to the G8BPQ switch and to BAYCOM modesms.
  979.  
  980. Why are there still compiled-in device drivers?  Why aren't they
  981. implemented as packet drivers?
  982.  
  983.     William Allen Simpson <bill.simpson@um.cc.umich.edu> writes:
  984.  
  985.     Part of the reason is that packet drivers don't separate the
  986.     encapsulation (link-layer) from the actual device (hardware-layer) very
  987.     well.  So, for example, when you have SLIP, PPP or NRS over two async
  988.     ports, you would need to load all of the link-layer code twice.
  989.  
  990.     Also, a link-layer like PPP requires significant resources such as
  991.     buffers and timers, which either need to be pre-allocated and managed
  992.     for every device (wasting lots of CPU and memory), or managed under a
  993.     single mechanism.
  994.  
  995.     BTW, Merit has built a PPP packet driver for NCSA Telnet.  It's over
  996.     100K, instead of the 24K we have inside NOS.
  997.  
  998.     Therefore, I believe that KA9Q (Phil Karn) decided on this architecture
  999.     to save CPU and memory.  Remember, he started the program under CP/M!
  1000.  
  1001.     Now, there was some talk a year or two ago about a re-designed device
  1002.     driver mechanism to replace packet drivers.  But there was also talk
  1003.     about going to NDIS drivers.
  1004.  
  1005.     Which shall we do?
  1006.  
  1007. I can't seem to attach more that 3 packet drivers at once in NOS.
  1008.  
  1009.     Mike Bilow <mikebw@ids.net> writes:
  1010.  
  1011.     That's true, you cannot attach more than 3 packet drivers.  This would
  1012.     have to be changed in the source code.  In fact, someone should
  1013.     probably finally sit down and make it correctly configurable with a
  1014.     simple compile time #define somewhere.
  1015.  
  1016.  
  1017.  
  1018. ----------------------------------------------------------------------
  1019. Common problems
  1020.  
  1021. Async interface loses characters
  1022.  
  1023.     If your machine can't field the interrupts from the serial port
  1024.     fast enough, it loses characters completely.  One symptom is that
  1025.     datagrams get retransmitted frequently over a SLIP or PPP line.
  1026.     In some NOSes this causes the TCP connections to reset
  1027.     automatically after getting a few datagrams across.  (TCP performs
  1028.     very poorly when the IP level datagrams are not delivered
  1029.     reliably, so it's best to just give up rather than waste
  1030.     bandwidth.)
  1031.  
  1032.     Another symptom is that garbled callsigns appear in the 'ax heard' list.
  1033.  
  1034.     One solution is simply to use a slower speed, like 4800 baud.
  1035.  
  1036.     A better solution is to replace the 8250 or 16450 UART with a 16550
  1037.     UART that has a built-in character FIFO.  This chip can buffer up
  1038.     to 16 characters while the machine is busy doing other things, so
  1039.     it relaxes the demand for prompt service.
  1040.  
  1041.     I've found that the JNOS i8250.c driver is slower than the others.
  1042.     It loses characters badly on a 9600 baud telephone modem, whereas other
  1043.     versions can keep up with no character losses at all.
  1044.  
  1045.     Rumor has it that DesqView may also cause problems if you run NOS
  1046.     in window 1.  Serial communications-intensive applications should
  1047.     ideally be run in window 2, as that one is actually optimized for
  1048.     serial comm.
  1049.  
  1050.  
  1051.     John Ackermann, AG9V, writes:
  1052.  
  1053.     I'm not sure why Johan's 8250 driver is slower -- I personally haven't
  1054.     noticed that -- but I do know that at least through his 1.04 release
  1055.     the 16550 fifo was <not> enabled; the code would detect the '550 but
  1056.     wouldn't do anything with it.  In JNOS 1.05, the fifo size can be
  1057.     specified as an attach command parameter.
  1058.  
  1059. Why do large amounts of core suddenly disappear?  For instance, I
  1060. started with 110K core, and FTP'ed a 1.5 Megabyte file off a LAN host
  1061. (14K bytes/sec transfer).  Core dropped to 30K. (using PA0GRI 2.0l)
  1062.  
  1063.     John Ackermann   AG9V <John.Ackermann@DaytonOH.NCR.COM> writes:
  1064.  
  1065.     We found that the disappearing core was due in very large part to the
  1066.     number and size of Ibufs you've configured.
  1067.  
  1068.     What happens (I'm not a Real Programmer, so this may not be technically
  1069.     right on) is that when NOS needs another ibuf, it has to find a big
  1070.     enough unfragmented chunk in the heap to hold it.  If it can't find a
  1071.     large enough piece of memory, it goes to the core to get one.
  1072.  
  1073.     When you have ethernet-sized ibufs, it's quite likely that there won't
  1074.     be an unfragmented chunk big enough, so core is going to go away
  1075.     quickly.
  1076.  
  1077.     When we ran 1600 byte Ibufs, even starting with 190k coreleft, we could
  1078.     only run for about three days max before core would disappear.  We
  1079.     reduced the ibufsize to 448, which despite manual references to the
  1080.     contrary seems to be the minimum that works with an MTU of 256 and now
  1081.     we <never> see crashes resulting from loss of core (there are OTHER
  1082.     kinds of crashes, though...).
  1083.  
  1084.     So, sacrifice some performance on the ethernet by reducing your
  1085.     ethernet mtu, and your mss, to match what you'll really be running on
  1086.     the air.  Then, set ibufsize to about that mtu plus 128.
  1087.  
  1088.     I haven't yet been able to determine whether the number of ibufs you
  1089.     set has any noticeable impact on this situation.  That's one for the
  1090.     coders to answer.
  1091.  
  1092.     "Carl Makin" <makinc@hhcs.gov.au> writes:
  1093.  
  1094.     Just one note.  The Ibufsize must be larger than your largest buffer
  1095.     size. (Not the same as but larger otherwise the SCC driver doesn't work
  1096.     properly.)
  1097.  
  1098.     So I assume you are running attach buffersizes just a little bigger or
  1099.     the same size as the mtu of the interface. ie 447 mtu for an ethernet
  1100.     port with a buffersize of 447.
  1101.  
  1102.  
  1103.     John Ackermann   AG9V <John.Ackermann@DaytonOH.NCR.COM> writes:
  1104.  
  1105.     Actually, I've been running attach buffers much larger than ibufsize;
  1106.     never knew that was a requirement.  And, it doesn't seem to affect
  1107.     things negatively.  When I ran big ibufs, they were bigger than the
  1108.     attach buffers and <that's> when I had the memory leak problems.
  1109.  
  1110.     It would be nice for One Who Truly Knows to fully document these buffer
  1111.     issues... their tuning is critical, but there sure isn't much to go on.
  1112.     Witness the statement in the asystat command section of the reference
  1113.     manual (that's been there for ages) that the number of software
  1114.     high-water-mark hits tells you whether you need to adjust the buffer
  1115.     size, and then refers you to the attach command chapter for further
  1116.     details, of which there are none.
  1117.  
  1118.  
  1119.     Johan K. Reinalda, wg7j <johan@ece.orst.edu> writes:
  1120.  
  1121.     Asy attach buffer doesn't care what the ibuf size is; they are fifo
  1122.     type buffers used during the interrupts, from which the asy rx process
  1123.     reads characters into mbufs. An asy buffer is allocated (with ints on)
  1124.     during the attach command, and is there for the life of the interface.
  1125.  
  1126.     Scc, packet and pi interfaces use the interrupt buffer scheme very
  1127.     actively for receiving of packets. They allocate buffers at interrupt
  1128.     time, and the queue need.
  1129.  
  1130.     The size of the buffer is somewhat complex. It needs to be the largest of
  1131.  
  1132.         -the largest ax25 paclen + about 100 (ax.25 header, actually 72 bytes max)
  1133.  
  1134.         -the largest ip mtu (if in vc mode over ax.25) + 20 (ip header) + about 100
  1135.  
  1136.         -the ethernet mtu + safety margin :)
  1137.  
  1138.  
  1139.     I have some written up in the latest draft of the jnos40 DE manual, I
  1140.     will include that in the docs for 1.05.
  1141.  
  1142.  
  1143. Why won't my PK-88 (and PCB-88)  send/receive a packet larger than 1048 bytes?
  1144.  
  1145.     The AX.25 spec limits packets to 256 data bytes, but we'll ignore
  1146.     that.
  1147.  
  1148.     It's a built-in limitation of AEA's.
  1149.     Some Kiss implementations have even more severe limitations.
  1150.     The Kantronics ROMS (at least the earlier ones) won't allow 1024.
  1151.     You can try getting newer ROMS for your TNC from the manufacturer,
  1152.     but they can legitimately claim that they conform to AX.25
  1153.     (KISS doesn't really specify the max packet length; AX.25 does).
  1154.  
  1155.     The TNC2 TAPR ROMS do not seem to impose any limitation
  1156.     other than memory.
  1157.  
  1158.  
  1159. Why do I see what look like lower-case o characters scattered
  1160. throughout the output of various NOS commands, such as the output of the
  1161. /who command in converse?
  1162.  
  1163.     The "lower-case o" characters are TABs (ascii 9).  You need to use
  1164.     the ansi.sys DOS screen driver (or one of its variants), which can
  1165.     properly expand the TABs.  Place 'device=c:\dos\ansi.sys'
  1166.     somewhere in your config.sys file (using the correct path, of
  1167.     course).  A popular ansi.sys variant is nansi.sys, available
  1168.     in the directory ucsd.edu:/hamradio/packet/tcpip/nansi.
  1169.  
  1170. ---------------------------------------------------------------------
  1171. Compiling NOS
  1172.  
  1173. What compiler do I need to use?
  1174.  
  1175.     Most versions of NOS were developed using Borland (Turbo) C.
  1176.     You'll have the best luck with Borland C++ V3.1.
  1177.     Earlier versions may work, but beware of invisible compiler glitches
  1178.     (see next section).
  1179.  
  1180.     Originally, Borland sold the compiler, assembler, debugger, and
  1181.     profiler as "Turbo C Professional".  Later they split the package into
  1182.     pieces.  Now the compiler is available for less than $100 as "Turbo
  1183.     C++".  The compiler and all the tools is available as "Borland C++",
  1184.     currently V3.1, and costs more than $300.  (For another $200, you can
  1185.     also get Borland's "Application Framework" for building Windows
  1186.     applications, but that isn't needed for NOS.)
  1187.  
  1188. Compiler glitches
  1189.  
  1190.     Turbo C++ 1.0 cannot compile NOS, because the compiler is too buggy.
  1191.     (It compiles it, but the resulting executable doesn't work right.)
  1192.  
  1193.     I believe that Turbo C++ 2.0 will successfully compile it, but you
  1194.     need to apply to the compiler patches supplied by Borland.
  1195.  
  1196.     Borland C++ V3.1 seems to produce reliable NOS binaries.
  1197.  
  1198.     BC++ V3.0 will work too, but people have reported that it produces
  1199.     an executable that crashes after about a half-hour (JNOS 1.07).
  1200.  
  1201.     Mike Bilow, <mikebw@ids.net> writes:
  1202.  
  1203.     The BC++ 3.1 "-3" compiler switch is not safe with NOS.  This appears
  1204.     to be limited to certain specific modules, primarily ALLOC.C, but I
  1205.     have never managed to encapsulate the problem sufficiently.  What I
  1206.     think is happening is that the use of the "HUGE" keyword in some places
  1207.     causes a conflict with the "-3" switch.  Compiling ALLOC.C to assembly
  1208.     source with the "-3" switch will show some very funny results, for
  1209.     example.
  1210.  
  1211.     On the other hand, the "-Z" compiler switch, which used to be unsafe,
  1212.     is now safe under BC++ 3.1.  You win some, you lose some.
  1213.  
  1214.     You will find, I think, that Borland's "-O2" switch (optimize
  1215.     for speed) is generally not a good idea.  I have found "-O1" to
  1216.     be stable as of BC++ 3.1, where it was not in prior versions.
  1217.     If you need faster code, you would be better off trying to force
  1218.     inlining of particular modules, especially inportb() and
  1219.     outportb(), which stand in the way of fast I/O if you have to
  1220.     put up with function call overhead on each use.
  1221.  
  1222. Compiler warnings
  1223.  
  1224.     Most versions of NOS have code that the compiler considers questionable,
  1225.     so it will produce a few warning messages.  Most of these are
  1226.     harmless, and are caused by functions not being declared properly.
  1227.     These warnings will probably be corrected later, but they don't
  1228.     cause real problems so they are not high on the authors' lists.
  1229.  
  1230.     If you only get warnings such as the following, don't worry.
  1231.     (These are from a compilation JNOS 1.07 with BCC 3.1.)
  1232.  
  1233.     Warning config.c 317: Suspicious pointer conversion
  1234.     Warning smtpserv.c 447: Function should return a value in function getmsgtxt
  1235.     Warning convers.c 911: Constant out of range in comparison in function
  1236.     channel_command
  1237.     Warning converse.c 1115: Constant out of range in comparison in function
  1238.     name_command
  1239.     Warning forward.c 466: Unreachable code in function makecl
  1240.     Warning tcpcmd.c 473: Suspicious pointer conversion in function doview
  1241.     Warning ipcmd.c 360: Suspicious pointer conversion in function doroute
  1242.     Warning arpcmd.c 342: Suspicious pointer conversion in function dumparp
  1243.     Warning arp.c 119: Condition is always false in function arp_input
  1244.     Warning arp.c 384: Possibly incorrect assignment in function arp_timeout
  1245.     Warning timer.c 61: Possibly incorrect assignment in function timerproc
  1246.     Warning alloc.c 405: Nonportable pointer comparison in function dofreelist
  1247.     Warning nrcmd.c 221: Suspicious pointer conversion in function doroutedump
  1248.     Warning nrcmd.c 328: Suspicious pointer conversion in function doallinfo
  1249.     Warning nr4.c 719: Suspicious pointer conversion in function nr4state
  1250.  
  1251. What does 'linker fixup overflow' mean?
  1252.  
  1253.     Mike Bilow, <mikebw@ids.net> writes:
  1254.  
  1255.     >Fixup overflow at _TEXT:0092 , target=__MKNAME
  1256.     >c:\bc\lib\cl.lib in modeule FCLOSE.
  1257.  
  1258.     You need to force all of the MKNAME.C module to be in the _TEXT
  1259.     segment.  This is explained in the voluminous comment I put into
  1260.     MKNAME.C.  You need to make sure that MAKEFILE invokes the compiler
  1261.     with the -zC_TEXT switch when compiling that specific module.
  1262.  
  1263.     What is happening is that library routine fclose() is making a call to
  1264.     __MKNAME(), which is declared to be "near pascal."  This means that the
  1265.     linker must be able to resolve an address for __MKNAME() within 64K; ts
  1266.     is a "linker fixup."  If __MKNAME() is more than 64K away from the
  1267.     place in flclose() where it is trying to call __MKNAME(), that is a
  1268.     "linker fixup overflow."
  1269.  
  1270.     This is not, by the way, a problem that can be finessed.  It must be
  1271.     fixed.
  1272.  
  1273.  
  1274. What do I do when DGROUP exceeds 64K?
  1275.  
  1276.     The error happens because too many data objects (variables, strings, etc.)
  1277.     have been placed in the data segment, which is restricted to be only 64k
  1278.     bytes long.
  1279.  
  1280.     The easiest way to avoid this is to choose fewer options in config.h,
  1281.     so fewer data objects are defined.
  1282.  
  1283.     However, setting -Ff=511 or -Ff=255 in the makefile this will
  1284.     usually do the trick, too.
  1285.  
  1286.     Another way is suggested by Mike Bilow <mikebw@ids.net>:
  1287.  
  1288.     The DFAR kludge that I developed to finally fix the linker error about
  1289.     DGROUP exceeding 64K found its way into the distribution release of
  1290.     PA0GRI NOS as of v2.0l or so.  Although it will work with Borland C++
  1291.     from version 2.0 or later (and this is correctly handled by a #define
  1292.     in GLOBAL.H), the compiler must be invoked with the "-Ff" switch from
  1293.     the MAKEFILE.  (Variants with the threshold specified, such as
  1294.     "-Ff=511", will work fine.)  I have not looked at Johan's [wg7j] source
  1295.     lately and I don't know if he included the DFAR kludge also, but it is
  1296.     generally more stable to use the DFAR kludge where the programmer picks
  1297.     what gets expelled into the far data segments rather than the Borland
  1298.     "-Ff-nnn" automatic far data threshold.  In my experience, "-Ff=nnn"
  1299.     will work with only sufficiently large values for "nnn," and will fail
  1300.     if smaller than 255.
  1301.  
  1302.     In other words, it works better to tell the compiler to be on the
  1303.     lookout for far data conversion with the "-Ff" switch, but to manually
  1304.     specify what gets moved using the DFAR kludge.  The "-Ff" switch with
  1305.     no value specified defaults to 32K, which doesn't move anything
  1306.     automatically.  (Believe it or not, no one has yet put a static data
  1307.     object in NOS that is bigger than 32K.)
  1308.  
  1309. Where can I get the pklite program that the NOS makefile uses?
  1310.  
  1311.     pklite is in ucsd:/hamradio/packet/tcpip/util/pklte105.zip,
  1312.     and many other places.  It's a companion program to pkzip et al.
  1313.  
  1314.  
  1315. Can NOS be made to use code overlays, so only the parts that are really in
  1316. use reside in memory?
  1317.  
  1318.     Mike Bilow, <mikebw@ids.net> writes:
  1319.  
  1320.     Making NOS work with code overlays is a discussion that comes up from
  1321.     time to time.  I spent a long time trying to get it to work, and all I
  1322.     ever had was a program that crashed almost instantly.  The problem is
  1323.     that NOS changes the stack segment register on the fly, and the overlay
  1324.     manager has to know certain things about the stack in order to work.
  1325.     The general consensus is that overlays cannot be done, although I have
  1326.     never conceded that and can't provide a counterexample.
  1327.  
  1328.  
  1329.  
  1330. ----------------------------------------------------------------------
  1331. DesqView, windows
  1332.  
  1333.     Mike Bilow, <mikebw@ids.net> writes:
  1334.  
  1335.     You have some immediate problem when trying to port NOS to DesqView or
  1336.     Windows.  First, Windows is somewhat unsuitable, since Windows apps
  1337.     expect to cooperatively multitask, and real-time performance is a thing
  1338.     requiring lots of kludges, even by Windows standards.  There are direct
  1339.     solution for doing this kind of Windows programming, most obviously
  1340.     writing a custom VxD virtual device driver, but you may find that you
  1341.     have rewritten a good chunk of Unix by the time this works.
  1342.  
  1343.     DV is more suitable, but still leads to problems.  It can be run on a
  1344.     very simple machine, although you don't gain much with DV until you have
  1345.     a 386 or better.  At this point, you are probably looking at the whole
  1346.     difference between a good DV setup and a good OS/2 setup being 4 MB of RAM,
  1347.     about $120 at current U.S. street prices.  I think DV is a really well done,
  1348.     even briliiant, product that fit a market niche that will soon disappear.
  1349.  
  1350.     Walt Corey [44.104.0.23] <kz1f@legent.com> writes:
  1351.  
  1352.     As I have mentioned before windows is not a multitasking system, it is
  1353.     cooperatively multitasking. This means that only one program can run at a
  1354.     time (period) That one program can give up control to Windows at selected /
  1355.     predetermined points, at that point Windows can give control to another
  1356.     app. That program in turn runs until it decides to give up control. If for
  1357.     some reason (error perhaps) it doesnt, nothing else (including windows)
  1358.     will run. If a program "hogs" control for say 1 sec, at 9600 baud thats abt
  1359.     1k data lost, for 5 sec its about 4.5k lost. It essentially could be done
  1360.     but there would be a huge risk of data loss and each process would have to
  1361.     be a window, as in the "dispatchable" unit of execution under Windows.
  1362.     Under OS/2 (for instance) it is a task not a window and OS/2 is a pure
  1363.     multitasking operating system, the timer task can not be stopped by a bad
  1364.     app, neither can the asy devices or the keyboard etc etc.
  1365.  
  1366.  
  1367.     chrisc@london-pride.lmt.mn.org writes:
  1368.  
  1369.     There is another dos multitasker that would seem to fit the bill here
  1370.     it's Free, well documented, source available (also free), and has
  1371.     almost all the facilities needed built in. The program is called CTASK
  1372.     written by (I think) T. Wagner in Germany.  I had considered a while
  1373.     back cutting the socket lib out of NOS and moving it to CTASK but the
  1374.     job looked a lot bigger that the time I had available.
  1375.  
  1376.  
  1377. Why does NOS implement its own task-switcher, when there are
  1378. several that exist and do a passable job?
  1379.  
  1380.     DOS NOS was done before DesqView was viable.  Also, requiring that someone
  1381.     have DesqView in order to run NOS would have limited the number of people
  1382.     who could run NOS.
  1383.  
  1384. ----------------------------------------------------------------------
  1385. Questions
  1386.  
  1387.     [ This section should summarize the topics that arise
  1388.       perennially on tcp-group. ]
  1389.  
  1390. How can I use NOS between computers over an RS232 wire link?
  1391.  
  1392.     NOS can use an asynchronous RS232 link by using a driver known as
  1393.     the async serial driver.  Look for the documentation under
  1394.     the 'attach' command, using the 'asy' driver.
  1395.  
  1396.     The link protocol uses the async driver.
  1397.     Whereas the async driver will move the characters from one machine
  1398.     to another, the link protocol interprets them.
  1399.  
  1400.     Most versions of NOS support one of two link protocols.
  1401.  
  1402.     SLIP is the most commonly used serial port link protocol.
  1403.  
  1404.     PPP is an alternative.  It is similar to SLIP, but permits the hosts
  1405.     to negotiate things like the interface's MTU automatically.
  1406.     If you don't know what that means, don't worry.  You're probably
  1407.     better of using SLIP.
  1408.  
  1409.  
  1410. Which of the RS232 signals are required on an async serial connection
  1411. (i.e., the minimum required)?
  1412.  
  1413.     RXD, TXD, and ground (pins 2, 3, and 7) are the minimum required.
  1414.     If both ports expect to be connected to a modem (most PC serial
  1415.     ports do), you'll have to use a null modem to flip pins 2 and 3
  1416.     (also 4 and 5; see below) between the ports.
  1417.  
  1418.     Beware that there is no hardware flow control with only these
  1419.     three signals.  Unless the link protocol does software flow
  1420.     control [I doubt that SLIP or PPP do], characters may be lost.
  1421.  
  1422.     If you also connect RTS and CTS (pins 4 and 5), NOS can use them
  1423.     for hardware flow control.
  1424.  
  1425. Does the async serial driver in NOS/NET do any hardware handshaking for flow control?
  1426.  
  1427.     Yes.  There is more than one implementation of the async serial driver,
  1428.     and each one handles handshaking differently.  The most widespread
  1429.     one is the one found in KA9Q NOS.  With it, you specify
  1430.     whether it should use RTS/CTS handshaking by putting a 'c' in the
  1431.     options word at the end of the attach command [before the IP address?].
  1432.     
  1433.     Another async driver, found in WG7J's JNOS [what others? GRI?],
  1434.     also supports RTS/CTS handshaking, but you don't have to specify
  1435.     that it should do so.  It automatically detects whether the other
  1436.     side is using flow control, and acts appropriately.
  1437.     If you do specify a 'c' in the 'attach' command's options word,
  1438.     the driver will ignore it, so it doesn't hurt to leave it there.
  1439.     [ Then how can I tell it to initiate the handshaking? ]
  1440.  
  1441.     This async driver can also use the RLSD (also called DCD) signal
  1442.     for flow control.
  1443.  
  1444.     
  1445.  
  1446.  
  1447. How do I use NOS as a router (gateway) between an Ethernet and an
  1448. Amprnet via a TNC?
  1449.  
  1450.     Jack Spitznagel <jks@giskard.uthscsa.edu> writes:
  1451.  
  1452.     You may use any ethernet card that you have a Russ Nelson/Clarkson/FTP
  1453.     Inc. Packet driver for. I have used NE1000/2000, DEPCA, 3COM, and
  1454.     WD/SMC8003/8013. Drivers also exist for IBM Token Ring and Arcnet
  1455.     adapters.
  1456.  
  1457.     As in most TCP/IP implementations the "ifconfig <interface_name>"
  1458.     command allows one to assign independent (or the same) ip addresses for
  1459.     each interface. Gatewaying is supported by *either* doing an "arp ...
  1460.     publish" for the remote slip ip-address at the connected ethernet end,
  1461.     *or* using the "ifconfig encap" to encapsulate one subnet thru another
  1462.     ones ip address link. (this is the amprnet gateway system you have
  1463.     heard talked about.) My explanation presupposes you are familiar with
  1464.     most of the TCP/IP routing and addressing issues.
  1465.  
  1466.  
  1467. My machine crashes when I run it as an ethernet <-> slip router.
  1468.  
  1469.    Try getting a newer version of NOS (especially the KA9Q version).
  1470.    Also try running with handshaking totally disabled at both ends.
  1471.  
  1472. Why do I see garbled callsigns in the 'ax heard' list?
  1473.  
  1474.     This can happen because of errors in the received packet.  Bad
  1475.     packets occasionally occur in any transmission medium, especially
  1476.     on a shared radio channel.  If the sending stations TxDelay is too
  1477.     short, you may also see garbled packets.  Not all bad packets will
  1478.     appear in the various error counts kept by NOS.
  1479.  
  1480.     Garbled packets may also result if your serial port loses characters;
  1481.     see the section on 'async interface loses characters' elsewhere in
  1482.     this file.
  1483.  
  1484.  
  1485.  
  1486. How do I get a permanent IP address?
  1487.  
  1488.     Talk to the AMPRNET address coordinator for your area.
  1489.     A list of them is available in
  1490.     ucsd.edu:/hamradio/ampr_coordinators [?]
  1491.     The best way to find out, though, is to find other people nearby
  1492.     who are already running an AMPRNET host.
  1493.  
  1494. How do I set up a machine as a mail gateway?
  1495.  
  1496.     [this needs work - there MUST be a better way to do all this!]
  1497.  
  1498.     Briefly, add a REWRITE RULE to spool\rewrite FOR EACH HOST ALIAS.
  1499.  
  1500.     The machine must have a mail host address, one for each mail network
  1501.     that you want it to connect.  (A "mail network" is simply a bunch
  1502.     of machines that can, directly or indirectly, send mail to each other.)
  1503.     The machine considers itself to have only one real hostname,
  1504.     which is set (in AUTOEXEC.NOS) via the 'hostname' [?] command.
  1505.     We'll call the other names "hostname aliases".
  1506.  
  1507.     With NOS, you must take care that your gateway machine recognizes
  1508.     that the mail is destined for it, regardless of which of its host
  1509.     names (or aliases) the message was sent to.
  1510.  
  1511.     To begin with, the machine only recognizes mail addressed to its
  1512.     own IP hostname (the one that's set by the NOS 'hostname' [?]
  1513.     command).  To make it recognize its other host names, you have
  1514.     to add a rewrite rule in the file spool\rewrite that turns that
  1515.     hostname alias into the real hostname.
  1516.  
  1517.     If you fail to make your machine recognize all its hostname
  1518.     aliases, then when a message arrives for one of its aliases, it
  1519.     will forward the message to some other machine (usually to its SMTP gateway).
  1520.     Some machine down the line will realize that the message is
  1521.     supposed to go to your host, and will send it back there, creating
  1522.     a loop.  Eventually, some machine in the loop will notice that
  1523.     the message has been to the same hosts several times, and will
  1524.     (hopefully) return it to the sender.
  1525.     
  1526.  
  1527. What is "the mailer"?
  1528.  
  1529.     NOS can act as a maildrop, collecting and storing messages
  1530.     addressed to you.  There are several ways it can do this, such as
  1531.     SMTP and "conventional" amateur BBS mail forwarding
  1532.     protocols.  Also, people to connect or telnet to your mailbox can
  1533.     issue mailbox commands to leave you mail.  No matter how the mail
  1534.     gets there, it is stored in files in the spool/mail directory,
  1535.     where it stays until you do something with it.
  1536.     All messages addressed to a particular recipient are concatenated
  1537.     together in a single file.
  1538.  
  1539.     The mailer is a program, separate from NOS, that shows you the
  1540.     messages in a mail file.  If you are running plain DOS, you have
  1541.     to exit NOS to run the mailer.  (You can also use the 'shell'
  1542.     command to suspend NOS and get to a DOS command interpreter, but
  1543.     that takes a lot of memory to work.)  Then you run the mailer
  1544.     program to read your messages.  You can delete them, reply to
  1545.     them, forward them, and so forth.  When you're done, it updates
  1546.     your mail file, and queues any messages that you asked it to send.
  1547.     NOS will try to send the messages the next time you run it.
  1548.  
  1549.     You can run the mailer while NOS is running if you're running a
  1550.     multitasker like DesqView or DoubleDos.
  1551.  
  1552.     You can choose which program to use as the mailer by setting
  1553.     the DOS environment variable MAILER in your AUTOEXEC.BAT, as in
  1554.  
  1555.     SET MAILER=VIEW.EXE
  1556.  
  1557.     Some of the mailers that are available are:
  1558.  
  1559.     BM        The earliest mailer that was included with NET/NOS.
  1560.         Written by Bdale Garbee, N3EUA.
  1561.  
  1562.         ucsd:/hamradio/packet/tcpip/bm
  1563.  
  1564.         This was originally written as a quick-hack with style (or
  1565.         lack thereof) reminiscent of /bin/mail on most Un*x
  1566.         machines.  The whole motivation behind BM was to have some
  1567.         way to test the SMTP client I had written for NET and the
  1568.         SMTP server Phil had written and I had hacked on.  I still
  1569.         remember how much fun it was sending the first mail
  1570.         message from BM to the tcp-group list...  :-) And the very
  1571.         serious discussion Phil and I had on the phone about
  1572.         whether it was OK to call it 'BM' in a time period when we
  1573.         were trying hard to be taken seriously by the packet
  1574.         community at large... but hey, if you can't laugh at
  1575.         yourself... :-)
  1576.  
  1577.         Dave Trulli NN2Z did a bunch of work on BM at one point,
  1578.         which is probably why it's still alive and in use.
  1579.  
  1580.     PCELM   A replacement for BM, popular in Europe.
  1581.  
  1582.     VIEW    ?
  1583.         ucsd:/hamradio/packet/tcpip/bm
  1584.  
  1585.         One small addition: The VIEW mailer is a full screen e-mail
  1586.         user interface with many features like undigestifying,
  1587.         queue manager, gateway specification etc. 
  1588.  
  1589.     NNTP readers
  1590.  
  1591.       -    I have not checked yet for newreaders specific to NOS,
  1592.     but the ones developed for PC-UUCP use should be usable.
  1593.  
  1594.     in /ibmpc/simtel20/msdos/uucp on doc.ic.ac.uk 
  1595.     (probably also on SIMTEL20 and its mirrors, like nic.funet.fi)
  1596.     It might need some modification to cooperate
  1597.     flawlessly with NOS NNTP but this should be minor.
  1598.  
  1599.       -    snews from John McCombs
  1600.  
  1601.  
  1602.       -    ftp.demon.co.uk:/pub/trumphurst/cppnws16.zip
  1603.     Nikki Locke <nikki@trmphrst.demon.co.uk>
  1604.  
  1605. Why does the 'shell' command just return without doing anything?
  1606.  
  1607.     This happens if there is not enough memory to run the DOS command
  1608.     interpreter as a child of NOS.  Rather than printing a message
  1609.     informing you of this, NOS just prints another prompt!
  1610.  
  1611. What is AMPRNET?
  1612.  
  1613.     AMPRNET is a network composed of amateur TCP/IP hosts whose names
  1614.     are in the .ampr.org domain, and whose addresses are assigned by
  1615.     the AMPRNET address coordinator (a person!).
  1616.  
  1617.     Although AMPRNET is technically a network, not all AMPRNET hosts
  1618.     can talk to one another.  Many people have begun to use landline
  1619.     gateways to connect the disjoint pieces of AMPRNET.
  1620.  
  1621. What is a gateway?
  1622.  
  1623.     A gateway is a host that joins one or more AMPRNET subnets to the
  1624.     rest of AMPRNET.  Loosely, an AMPRNET subnet consists of the
  1625.     AMPRNET hosts in a particular area, say, a city.    
  1626.  
  1627.     AMPRNET is a network composed of amateur TCP/IP hosts.  In theory,
  1628.     any host on a network like AMPRNET should be able to send IP
  1629.     datagrams to any other host on the network.  In practice, however,
  1630.     the network is fragmented into "subnets", which, loosely, is a set
  1631.     of machines that can talk to each other.  (The term "subnet" has a
  1632.     more specific meaning in TCP/IP, where it refers to a set of
  1633.     machines that have a common prefix in their IP address.  This
  1634.     simplifies routing; for more info, see the reference on gateways.)
  1635.  
  1636.     The hosts on a subnet may talk to each other via radio modems, TNCs,
  1637.     telephone modems, ethernet, wire lines, or just about any other
  1638.     way of moving bytes around.  (NOS is one of the few packages
  1639.     available to amateurs that can support this diversity.)
  1640.     Each city or town tends to develop such a subnet, because everyone
  1641.     in the locality can hear one another on VHF radio, and the phone
  1642.     calls are local, or they're even in the same building.
  1643.  
  1644.     If each of the hosts in a locality has a coordinated AMPRNET
  1645.     domain name and IP address, then that subnet is technically part
  1646.     of AMPRNET.  This means that other AMPRNET hosts on other subnets
  1647.     (i.e., other cities) could send packets to them, if only there
  1648.     were a way to get them between the two subnets.  To do this, there
  1649.     must be at least one host that can talk to both of the subnets,
  1650.     through which hosts on either subnet can send their packets to the
  1651.     other side.  Such a host is a gateway.
  1652.  
  1653.     In effect, a gateway turns the subnets into a larger network,
  1654.     called an "internetwork", or "internet".
  1655.  
  1656. What is an "Internet gateway"?
  1657.  
  1658.     An "Internet gateway", in AMPRNET, is a gateway that talks to
  1659.     other AMPRNET gateways by sending the packets over a landline
  1660.     network known as the Internet.  The Internet (capital I) is a
  1661.     world-wide academic and commercial network.
  1662.  
  1663.     Therefore, any host potentially can be a gateway if it is
  1664.     connected to some subnet of AMPRNET and to the Internet.  In
  1665.     order to become an operating is, gateway, the other gateways
  1666.     must be told what the gateway's addressand what AMPRNET subnets
  1667.     it knows how to send packets to.
  1668.  
  1669.     For more information on gateways, look in the following files
  1670.     that are available for FTP.
  1671.  
  1672.     minnie.cs.adfa.oz.au    gateways.023    (number changes with version)
  1673.     ke9yq.ampr.org
  1674.  
  1675. What's the difference between a gateway and a wormhole?
  1676.  
  1677.     Wormholes don't do routing; gateways do.
  1678.  
  1679.     A wormhole is just a two-way "data pipe", often a phone line, that
  1680.     can accept packets on one end, and spits them out at the other
  1681.     end.  There is only one possible destination.  It is like an AX.25
  1682.     digipeater, and in fact many wormholes are fashioned to look just
  1683.     like one.  (Another way to look at it is as a band opening on HF.)
  1684.  
  1685.     A wormhole doesn't know or care what is in the packets; in
  1686.     particular, it doesn't do any routing.  To use a wormhole, you
  1687.     have to know where its input port is so you can send your packets
  1688.     through it (as if it were a digipeater), and what stations are at
  1689.     the other end, so you can address packets to them.
  1690.  
  1691.     Gateways are more interesting than wormholes, because they can
  1692.     route packets sent into them to one of many different
  1693.     destinations, perhaps routing through other gateways on the way.
  1694.     Gateways form a true network, in the sense that you can just
  1695.     inject a packet into it, and it will figure out how to get it to
  1696.     its destination (if possible).
  1697.  
  1698.     Because they do routing, gateways have to know something about the
  1699.     packets you send through them, so they can figure out where to
  1700.     send it.  That is, you have to use a particular protocol that the
  1701.     gateway understands.
  1702.  
  1703.  
  1704. What parameters should I use for the netrom interface?
  1705.  
  1706.     The netrom interface allows you to send IP datagrams through a
  1707.     netrom network.  It also makes your NOS station look like just
  1708.     another netrom node to the others.  
  1709.  
  1710.     However, many people have found that using the netrom code makes
  1711.     NOS crash frequently, usually just after a netrom stream has been
  1712.     closed, especially when the connection was made by a user in the
  1713.     mailbox.  It's best not to use the netrom code unless there is
  1714.     absolutely no other way you can get to other IP stations.
  1715.  
  1716.     Some people use NOS as an alternative implementation of the netrom
  1717.     protocol to build netrom node stacks.  This usage belongs more to
  1718.     the realm of netrom wizardry than to NOS, so we won't discuss it
  1719.     here.
  1720.  
  1721.     If you're brave enough to use the netrom interface anyway, use
  1722.     these parameters as an example:
  1723.  
  1724.     netrom nodetimer 1800
  1725.     netrom obsotimer 1800
  1726.     netrom minquality 144
  1727.     netrom interface axip_place 230
  1728.     netrom interface diode_matrix 230       # direct rs232
  1729.     netrom interface back_bone 203          # just *two* radios talking
  1730.     netrom interface user_port 192          # lots of radios
  1731.  
  1732.     netrom ttl 24
  1733.  
  1734.     Since the timers will affect both the RF port and the encap ports I would
  1735.     suggest you set it to the same value that is used locally on the air.
  1736.  
  1737. When somebody sends an AX.25 packet to my NOS system through a
  1738. digipeater, my NOS insists on sending it back through the digipeater
  1739. even though the direct path really works.  How can I force it to use the
  1740. direct path?
  1741.  
  1742.     Carl Makin <makinc@HHCS.GOV.AU> writes:
  1743.  
  1744.     Define the route manually:
  1745.  
  1746.     ax25 route add <call>
  1747.  
  1748.     It's then defined as a local route and should be used in preference to
  1749.     an "auto" route.
  1750.  
  1751.  
  1752. ----------------------------------------------------------------------
  1753. Wishes
  1754.  
  1755.     Costas, SV1XV, <kkrallis@leon.nrcps.ariadne-t.gr> writes:
  1756.  
  1757.     As my job forces me to run SCO Unix Sys V on my main
  1758.     machine, I would like to find a STREAMS/socket driver to add
  1759.     ax.25 and KISS to the existing SCO TCP/IP services, but it
  1760.     seems nobody has written one yet.
  1761.  
  1762. ----------------------------------------------------------------------
  1763.  
  1764. Glossary
  1765.  
  1766.     NET
  1767.     NETROM
  1768.     NOS
  1769.  
  1770.     RSPF
  1771.         ucsd.edu:/hamradio/packet/tcpip/docs/rspf.doc
  1772.     ucsd.edu:/hamradio/packet/tcpip/incoming/rspf22p.txt
  1773.  
  1774.     RIP
  1775.     TCP
  1776.     IP
  1777.     Internet
  1778.     internet
  1779.  
  1780. ----------------------------------------------------------------------
  1781. Bibliography
  1782.  
  1783. ARRL Computer Networking Conference Proceedings
  1784.     Available from ARRL HQ, Newington CT.
  1785.     Send mail to info@arrl.org for an automatic response pointing at
  1786.     more information about the ARRL.
  1787.     Some of these papers are available online in the directory
  1788.     ucsd.edu:/hamradio/packet/tcpip/docs.
  1789.  
  1790.     This list is not exhaustive; there are many other interesting
  1791.     articles, but these are the ones most relevant to NOS and TCP/IP.
  1792.  
  1793.     NOS Overviews and Documentation
  1794.  
  1795.     NOS Command Set Reference
  1796.             Ian Wade G3NRW            10th (1991)
  1797.  
  1798.     NOSVIEW: The On-Line Documentation Package for NOS
  1799.             Ian Wade G3NRW            11th (1992)
  1800.  
  1801.         The KA9Q Internet (TCP/IP) Package: A Progress Report
  1802.             Phil Karn KA9Q            6th (1987)
  1803.  
  1804.     Amateur TCP/IP: An Update
  1805.             Phil Karn KA9Q            7th (1988)
  1806.  
  1807.     Amateur TCP/IP in 1989
  1808.             Phil Karn KA9Q            8th (1989)
  1809.  
  1810.     Services and Protocols
  1811.  
  1812.     The Design of a Mail System for the KA9Q Internet protocol
  1813.             Bdale Garbee, N3EUA        6th (1987)
  1814.             Gerard van der Grinten, PA0GRI    
  1815.  
  1816.     Finger - A User Information Lookup Service
  1817.             Michael T. Horne, KA7AXD       7th (1988)
  1818.  
  1819.     Callsign Server for the KA9Q Internet Protocol Package
  1820.             Doug Thom, N6OYU        8th (1989)
  1821.             Dewayne Hendricks, WA8DZP
  1822.  
  1823.     The Network News Transfer Protocol and its Use in Packet Radio
  1824.             Anders Klemets, SM0RGV            9th (1990)
  1825.  
  1826.     A Routing Agent for TCP/IP: RFC 1058 Implemented for the KA9Q
  1827.     Internet Protocol Package            7th (1988)
  1828.             Albert G. Broscius, N3FCT
  1829.  
  1830.     Thoughts on the Issues of Address Resolution and Routing in
  1831.     Amateur Packet Radio TCP/IP Networks
  1832.             Bdale Garbee, N3EUA        6th (1987)
  1833.  
  1834.     Another Look at Authentication
  1835.             Phil Karn KA9Q            6th (1987)
  1836.  
  1837.     LZW Compression of Interactive Network Traffic
  1838.             Anders Klemets, SM0RGV            10th (1991)
  1839.  
  1840.     PACSAT Protocol Suite -- An Overview
  1841.             Harold Price, NK6K        9th (1990)
  1842.             Jeff Ward, G0/K8KA
  1843.  
  1844.     BULLPRO -- A Simple Bulletin Distribution Protocol
  1845.             Tom Clark, W3IWI        9th (1990)
  1846.  
  1847.     Macintosh
  1848.  
  1849.     KA9Q Internet Protocol Package on the Apple Macintosh
  1850.             Dewayne Hendricks, WA8DZP       8th (1989)
  1851.             Doug Thom, N6OYU
  1852.  
  1853.     Status Report on the KA9Q Internet Protocol Package for the
  1854.     Apple Macintosh
  1855.             Dewayne Hendricks, WA8DZP       9th (1990)
  1856.             Doug Thom, N6OYU
  1857.  
  1858.     Higher Speed Amateur Packet Radio using the Apple Macintosh
  1859.     Computer
  1860.             Doug Yuill, VE3OCU        10th (1991)
  1861.  
  1862.     Network design
  1863.  
  1864.     The Implications of High-Speed RF Networking
  1865.             Mike Chepponis, K3MC        8th (1989)
  1866.             Glenn Elmore, N6GN
  1867.             Bdale Garbee, N3EUA
  1868.             Phil Karn, KA9Q
  1869.             Kevin Rowett, N6RCE
  1870.  
  1871.     Design of a Next-Generation Packet Network
  1872.             Bdale Garbee, N3EUA        8th (1989)
  1873.  
  1874.     More and Faster Bits: A Look at Packet Radio's Future
  1875.             Bdale Garbee, N3EUA        7th (1988)
  1876.  
  1877.     Physical Layer Considerations in Building a High Speed Amateur
  1878.     Radio Network
  1879.             Glenn Elmore, N6GN        9th (1990)
  1880.  
  1881.     Spectral Efficiency Considerations for Packet Radio
  1882.             Phil Karn, KA9Q            10th (1991)
  1883.  
  1884.         This should be considered to be required reading.
  1885.  
  1886.     MACA - A New Channel Acess Method for Packet Radio
  1887.             Phil Karn, KA9Q            9th (1990)
  1888.  
  1889.     A Duplex Packet Radio Repeater Approach to Layer One
  1890.     Efficiency 
  1891.             Robert Finch, N6CXB        6th (1987)
  1892.             Scott Avent, N6BGW
  1893.  
  1894.     A Duplex Packet Radio Repeater Approach to Layer One
  1895.     Efficiency, Part Two
  1896.             Scott Avent, N6BGW        7th (1988)
  1897.             Robert Finch, N6CXB
  1898.  
  1899.  
  1900.     Network Implementation
  1901.  
  1902.     Packet Radio at 19.2 kB -- A Progress Report
  1903.             John Ackermann, AG9V        11th (1992)
  1904.  
  1905.     Implementation of a 1Mbps Packet Data Link
  1906.             Glenn Elmore, N6GN        8th (1989)
  1907.             Kevin Rowett, N6RCE
  1908.  
  1909.     Hubmaster: Cluster-Based Access to High-Speed Netowrks
  1910.             Glenn Elmore, N6GN        9th (1990)
  1911.             Kevin Rowett, N6RCE
  1912.             Ed Satterthwaite, N6PLO
  1913.                     
  1914.     Recent Hubmaster Networking Progress in Northern California
  1915.             Glenn Elmore, N6GN        9th (1990)
  1916.             Kevin Rowett, N6RCE
  1917.  
  1918.     The 56 kb/s Modem as a Network Building Block: Some Design
  1919.     Considerations
  1920.                 Barry McLarnon, VE3JF        10th (1991)
  1921.  
  1922.  
  1923.     Digital Networking with the WA4DSY Modem - Adjacent Channel
  1924.     and Co-Channel Frequency Reuse Considerations
  1925.                 Ian McEachern, VE3PFH        10th (1991)
  1926.  
  1927.     A Full-Duplex 56kb/s CSMA/CD Packet Radio Repeater System
  1928.             Mike Chepponis, K3MC        10th (1991)
  1929.             Lars Karlsson, AA6IW
  1930.  
  1931.     A High Performance, Collision-Free Packet Radio Network
  1932.             Phil Karn KA9Q            6th (1987)
  1933.  
  1934.     Adaptation of the KA9Q TCP/IP Package for Standalone Packet
  1935.     Switch Operation
  1936.             Bdale Garbee, N3EUA        9th (1990)
  1937.             Don Lemley, N4PCR
  1938.             Milt Heath
  1939.  
  1940.     Hardware
  1941.  
  1942.     The KISS TNC: A Simple Host-to-TNC Communications Protocol
  1943.             Mike Chepponis, K3MC        6th (1987)
  1944.             Phil Karn, KA9Q
  1945.  
  1946.     The Ottawa Packet Interface (PI) A Syncrhonous Serial PC
  1947.     Interface for Medium Speed Packet Radio
  1948.             Dave Perry, VE3IFB        10th (1991)
  1949.  
  1950.     HAPN-2: A Digital Multi-Mode Controller fo the IBM PC
  1951.             John Vanden Berg, VE3DVV    11th (1992)
  1952.  
  1953.     The PackeTen system - The Next Generation Packet Switch
  1954.             Don Lemley, N4PCR        9th (1990)
  1955.             Milt Heath
  1956.  
  1957. ----------------------------------------------------------------------
  1958.